package request

import (
	"gitee.com/baal1990/epidemic/model/common/request"
	"gitee.com/baal1990/epidemic/model/epidemic"
	"time"
)

type EpidemicInvestigationFormSearch struct {
	epidemic.EpidemicInvestigationForm
	StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt   *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
	request.PageInfo
}

// 用户侧
// 首页疫情排查列表请求
type EpidemicInvestigationFormListUserSide struct {
	Status string `form:"status" binding:"required"`
	request.PageInfo
}

// 用户侧
// 疫情排查列表填报
type EpidemicInvestigationFormCheckinUserSide struct {
	Id               int    `form:"id" binding:"required"`
	Answers          string `form:"answers" binding:"required"`
	SpecialSituation string `form:"specialSituation"`
	Mobile           string `form:"mobile"`
}

type EpidemicInvestigationFormUpdateStatus struct {
	Id     string ` form:"id"  binding:"required"`
	Status string ` form:"status"  binding:"required"`
}
